{template "","header"}
<script type="text/javascript" src="{JS_PATH}108wo/zeroclipboard/ZeroClipboard.js"></script>
<script type="text/javascript">
$(function(){
	ZeroClipboard.setMoviePath('{JS_PATH}108wo/zeroclipboard/ZeroClipboard10.swf');
	
	clip = new ZeroClipboard.Client();
	clip.setHandCursor( true );
	
	// assign a common mouseover function for all elements using jQuery
	$('a.multiple').mouseover( function() {
		// set the clip text to our innerHTML
		clip.setText($(this).attr('title'));

		clip.addEventListener('complete', function (client, text) {
			$('#msgBox').fadeIn("fast")
			setTimeout(function(){$('#msgBox').html("<div class='suc'>复制成功,跳转中...</div>");},500);
			setTimeout('location.href="{APP_PATH}/index.php?m=order&c=index&a=lists";',1250);
		});
		
		// reposition the movie over our element
		// or create it if this is the first time
		if (clip.div) {
			clip.receiveEvent('mouseout', null);
			clip.reposition(this);
		} else clip.glue(this);
		
		// gotta force these events due to the Flash movie
		// moving all around.  This insures the CSS effects
		// are properly updated.
		clip.receiveEvent('mouseover', null);
	});
})
</script>
<!--main-->
<div id="main">
<div id="msgBox">
</div>
	<div id="page">
		<div class="left">
			<div class="picList">
				{if $myhelp}
				<div class="listTop">
					<div>求助信息包含在 &quot;<span class='red'>{$myhelp[title]}</span>&quot; 的图片中：</div>
				</div>
				{/if}
				<div class="listCo">
					<ul>
						<li>
							<a href="{$product[thumb]}#{$product[id]}" rev="{thumb($product[thumb], 320, 200)}" class="image" rel="photoGroup" title="{$product[title]}"><img src="{IMG_PATH}108wo/pic_mask.png" /></a>
							<p>
								<span><a href="javascript:void(0);" onclick="$(this).parent().parent().prev().click();">{$product[title]}</a></span>
								<a href="javascript:void(0);" onclick="dianping(this, 'good', {$product[id]}, 13)">好</a>[<font class="good">{$product[goodnum]}</font>]<a href="javascript:void(0);" onclick="dianping(this, 'bad', {$product[id]}, 13)">差</a>[<font class="bad">{$product[badnum]}</font>]
							</p>
							<a href="javascript:void(0);" onclick="addOrder({$product[id]})" class="btn"></a>
						</li>
					</ul>
				</div>
				<div class="clearit"></div>
				<p>该图片的所有求助信息</p>
				<table width="100%">
					{loop $myhelp_list $r}
					<tr>
						<td>{date('m-d', $r[inputtime])}</td>
						<td>{if $r[modelid]==11}设计师{else}供应商{/if}</td>
						<td>{$r[title]}</td>
						<td><a href="javascript:void(0);" class="multiple" title="{$r[username]}">复制转发地址</a></td>
					</tr>
					{/loop}
				</table>
			</div>	
		</div>
		{template "content","side_right"}
		<div class="clearit"></div>
	</div>
</div>
{template "","footer"}